// [[ OnflowGenerator File UUID: def7230bf8f249ccbaa61992dd807370  ]]
package com.itdct.onflow.system.log.vo

import com.itdct.adexcel.annotation.ExcelField
import com.itdct.onflow.core.annotation.Dict
import com.itdct.onflow.system.common.base.BaseExportVo
import java.math.BigDecimal
import java.util.*

/**
 * @author DCTANT
 * @date 2025-09-23 10:57:51
 * @version 1.0
 * @description 系统接口访问日志列表返回值
 */
class SysApiLogExportVo : BaseExportVo() {
    // [[ OnflowGenerator Range (- fields -) Start ]]
    @ExcelField(columnName = "账号id")
    var accountId: Long? = null

    @ExcelField(columnName = "账号id对应值")
    var accountIdName: String? = null

    @ExcelField(columnName = "请求时间")
    var requestTime: Date? = null

    @ExcelField(columnName = "响应时间")
    var responseTime: Date? = null

    @ExcelField(columnName = "处理时间")
    var handleTime: BigDecimal? = null

    @ExcelField(columnName = "实例id")
    var instanceId: String? = null

    @ExcelField(columnName = "接口地址")
    var url: String? = null

    @ExcelField(columnName = "接口id")
    var apiId: Long? = null

    @ExcelField(columnName = "接口id对应值")
    var apiIdName: String? = null

    @ExcelField(columnName = "返回码")
    var returnCode: Int? = null

    @ExcelField(columnName = "来源ip")
    var sourceIp: String? = null

    @ExcelField(columnName = "平台类型")
    @Dict(code = "platformType", field = "platformTypeName")
    var platformType: String? = null

    @ExcelField(columnName = "平台类型字典映射值")
    var platformTypeName: String? = null

    @ExcelField(columnName = "失败原因")
    var failReason: String? = null

    @ExcelField(columnName = "创建时间")
    var createTime: Date? = null

    @ExcelField(columnName = "更新时间")
    var updateTime: Date? = null

// [[ OnflowGenerator Range (- fields -) End ]]
}